﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IDataProvider.cs" company="">
//   
// </copyright>
// <summary>
//   The i data provider.
// </summary>
// --------------------------------------------------------------------------------------------------------------------


using System;

namespace Systemathics.FrameWork.Interfaces
{

    public interface IDataProvider : IConnection
    {
        void GetHistoricalData(DateTime Begin, DateTime End, Data dt, Guid Id, int? BarSize);
        void UpdateInstruments();
        void UpdateCurrencies();

        event EventHandler<BarSeries> EmitBarSeries;
        event EventHandler<TradeSeries> EmitTradeSeries;
        event EventHandler<QuoteSeries> EmitQuoteSeries;
        event EventHandler<Trade> EmitNewTrade;
        event EventHandler<Blotter> EmitNewBlotter;
        event EventHandler<MarketData> EmitNewMarketData;
    }
}